use crate::handlers::*;
use utoipa::OpenApi;

#[derive(OpenApi)]
#[openapi(
    info(
        title = "北京市大兴区西片区城中村改造项目 API",
        version = "0.1.0",
        description = "北京市大兴区西片区城中村改造项目 API Documentation",
    ),
    paths(
 // Methods in auth_handler
  auth_handler::login,
  auth_handler::logout,
  auth_handler::disable,
  auth_handler::enable,

// Methods in menu_handler
  menu_handler::create,
  menu_handler::delete,
  menu_handler::update,
  menu_handler::detail,
  menu_handler::list,

// Methods in perm_handler
  perm_handler::create,
  perm_handler::delete,
  perm_handler::update,
  perm_handler::detail,
  perm_handler::list,

// Methods in role_handler
  role_handler::create,
  role_handler::delete,
  role_handler::update,
  role_handler::detail,
  role_handler::list,
  role_handler::bind,

// Methods in user_handler
  user_handler::create,
  user_handler::update,
  user_handler::modify,
  user_handler::delete,
  user_handler::info,
  user_handler::page,
  user_handler::detail,
  user_handler::change_password,
  user_handler::reset_password,


    )
)]
pub struct ApiDoc;
